package com.openweixin.sheknows.dao;
import com.openweixin.sheknows.domain.UserNewScore;
public interface UserNewScoreDao extends BaseDao<UserNewScore, Integer> {
	
	/**
	 * 通过uid获取得到的新评分的总数
	 * @param uid
	 * @return
	 */
	Long getNewScoreCountByUid(Integer uid);
	
	/**
	 * 通过uid删除新的评分提示
	 * @param uid
	 * @return 返回删除的条数
	 */
	int deleteByUid(Integer uid);
	
	
	UserNewScore getNewScoreByUidAndQid(Integer uid,Integer qid);
}
